﻿#ifndef DIALOGUSERMDIFY_H
#define DIALOGUSERMDIFY_H

#include <QDialog>
#include<Tool/UserInfo.h>
namespace Ui {
class DialogUserMdify;
}

class DialogUserMdify : public QDialog
{
    Q_OBJECT

public:
    explicit DialogUserMdify(QWidget *parent = nullptr);
    ~DialogUserMdify();
    void setUserInfo(const UserInfo& userInfo);
    UserInfo GetUserInfo();

private slots:
    void slotBtnAccept();
    void slotBtnReject();
    void slotBtnShowHide();
    void slotBtnIconSelect();
private:
    void showUserInfo();
    void setUserInfo();
private:
    Ui::DialogUserMdify *ui;
    UserInfo m_userInfo;
};



#endif // DIALOGUSERMDIFY_H
